﻿#ifndef LABEL_NET_H
#define LABEL_NET_H

#include <QLabel>
#include <QObject>



class LabelNet : public QLabel
{
	Q_OBJECT

public:
	explicit LabelNet(QWidget* parent = 0);

    QString _id;


protected:
	virtual void mousePressEvent(QMouseEvent* event);	// 重新声明 mousePressEvent 处理函数

protected:
	virtual bool event(QEvent* e);	// 声明 event(）函数

   private slots:
  //  void ReadMyCom();//读取串口数据

 //   void WriteMyCom();//写串口数据
};

#endif // LABEL_NET_H
